.info-title {
  display: inline-block;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  .sub-title-tip {
    font-size: 14px;
    color: #909399;
    font-weight: normal;
  }

  .mcolor-red {
    color: #F56C6C;
  }
}

.table-config-wrap {
  .upload-icon-td {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .align-center-td {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .square-wrap {
    box-sizing: border-box;
    position: relative;
    width: 312px;
    height: 312px;

    .start-p {
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100px;
      height: 100px;
      background-color: #D7D7D7;
      padding: 0 36px;
      position: absolute;
      top: 106px;
      left: 106px;
      z-index: 2;
    }

    .square-ul {
      box-sizing: border-box;
      display: flex;
      flex-wrap: wrap;
      position: relative;
      width: 100%;
      height: 100%;

      li {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 100px;
        background-color: #D7D7D7;
        pointer-events: none;
        position: absolute;

        span {
          font-size: 12px;
          padding-top: 8px;
        }

        &:nth-child(1) {
          top: 0;
          left: 0;
        }
        &:nth-child(2) {
          top: 0;
          left: 106px;
        }
        &:nth-child(3) {
          top: 0;
          right: 0;
        }
        &:nth-child(4) {
          top: 106px;
          left: 0;
        }
        &:nth-child(5) {
          top: 106px;
          right: 0;
        }
        &:nth-child(6) {
          bottom: 0;
          left: 0;
        }
        &:nth-child(7) {
          bottom: 0;
          left: 106px;
        }
        &:nth-child(8) {
          bottom: 0;
          right: 0;
        }
      }
    }
  }
}

:host ::ng-deep {
  .ipt-fix-span {
    .ant-input-suffix {
      color: rgba(0, 0, 0, 0.45);
    }
  }

  .textarea-fix-span {
    position: relative;

    &::after {
      position: absolute;
      bottom: 0;
      right: 4px;
    }
  }
}

/********************************** 拖拽样式START **********************************/
.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
              0 8px 10px 1px rgba(0, 0, 0, 0.14),
              0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
::ng-deep .cdk-drag-preview {
  display: table;
  height: 100%;
  vertical-align: middle;
  text-align: center;

  .ipt-fix-span {
    .ant-input-suffix {
      color: #C0C4CC;
    }
  }

  .textarea-fix-span {
    position: relative;

    &::after {
      position: absolute;
      bottom: 0;
      right: 4px;
    }
  }

  td {
    padding: 8px;
  }
}
.cdk-drop-list-dragging .cdk-drag {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
.example-box:last-child {
  border: none;
}
.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
/********************************** 拖拽样式END **********************************/

.active-bg {
  background: beige !important;
}